<admintpl file="header" />
</head>
<body>
	<div class="wrap">
		<ul class="nav nav-tabs">
		    <li><a href="{:U('Admin/NewsType/index')}">新闻分类</a></li>
			<li class="active"><a href="{:U('Admin/NewsType/add')}">添加新闻分类</a></li>
		</ul>
		<form method="post" class="form-horizontal js-ajax-form" action="{:U('Admin/NewsType/add_post')}">
				<div class="control-group">
					<label class="control-label">上级分类</label>
					<div class="controls">
						<select class="select_2" name="upperId">
							<option value="0" >--无--</option>
							<foreach name="data" item="vo">
								<option value="{$vo.cateId|number_format=0,'',''}" >{$vo.cateName}</option>
							</foreach>
						</select>
					</div>
				</div>
				<!--<div class="control-group">
					<label class="control-label">分类类型</label>
					<div class="controls">
						<label class="radio inline" for="active_true"><input type="radio" name="cateType" value="1" checked id="active_true" />焦点新闻</label>
						<label class="radio inline" for="active_false"><input type="radio" name="cateType" value="0" id="active_false">普通新闻</label>
					</div>
				</div>-->
				<div class="control-group">
					<label class="control-label">名称：</label>
					<div class="controls">
						<input type="text" name="cateName">
					</div>
				</div>
				
			<div class="form-actions" style="padding-left:260px;">
				<button type="submit" class="btn btn-primary js-ajax-submit">保存</button>
				&nbsp;&nbsp;<a class="btn" href="{:U('Admin/NewsType/index')}">{:L('BACK')}</a>
			</div>
		</form>
	</div>
	<script src="__PUBLIC__/js/common.js"></script>
	<script type="text/javascript" src="__PUBLIC__/js/content_addtop.js"></script>
</body>
</html>